﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudentSys.Models
{
    /// <summary>
    /// 年级
    /// 
    /// </summary>
    public class Grade : BaseEntity
    {
        /// <summary>
        ///   为了让引用类型可以为空所以必须加  [Required]
        /// </summary>
        [Required]
        public String Name { get; set; }
    }
}
